cordova.define("org.apache.cordova.datetimepicker.datetimepicker", function(require, exports, module) {
var exec = require('cordova/exec');

module.exports = {
    
    datetimepicker: function(resultCallback, buttonLabels, defaultText) {
        var _buttonLabels = (buttonLabels || ["OK","Cancel"]);
        var _defaultText = (defaultText || "");
        exec(resultCallback, null, "DateTimePicker", "datetimepicker", [_buttonLabels, _defaultText]);
    },
    datepicker: function(resultCallback, buttonLabels, defaultText) {
        var _buttonLabels = (buttonLabels || ["OK","Cancel"]);
        var _defaultText = (defaultText || "");
        exec(resultCallback, null, "DateTimePicker", "datepicker", [_buttonLabels, _defaultText]);
    },
    timepicker: function(resultCallback, buttonLabels, defaultText) {
        var _buttonLabels = (buttonLabels || ["OK","Cancel"]);
        var _defaultText = (defaultText || "");
        exec(resultCallback, null, "DateTimePicker", "timepicker", [_buttonLabels, _defaultText]);
    },
    yearmonthpicker: function(resultCallback, buttonLabels, defaultText) {
        var _buttonLabels = (buttonLabels || ["OK","Cancel"]);
        var _defaultText = (defaultText || "");
        exec(resultCallback, null, "DateTimePicker", "yearmonthpicker", [_buttonLabels, _defaultText]);
    }
    
};

});
